import Web3 from 'web3';


export default null;


export function exportWeb3Instance() {
    let web3 = undefined
    if (window.ethereum != undefined) {
        web3 = new Web3(window.ethereum)
    } else {
        web3 = new Web3(new Web3.providers.HttpProvider("https://rinkeby.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161"))
    }
    return web3
}